<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="display" uri="/WEB-INF/tags/displaytag-12.tld"%>
<%@ taglib prefix="authz" uri="http://acegisecurity.org/authz"%>

<html>
<head>
</head>

<body>

<TABLE>

<h1> <s:text name="menu.listUsers" /> </h1>
<s:set name="user" value="users" scope="request" />
<display:table name="user" id="row" class="dataTable" defaultsort="1"
	defaultorder="ascending"  cellspacing="0"
	decorator="org.displaytag.decorator.TotalTableDecorator">
	
    <display:column property="firstName" />
	<display:column property="emailAddress" />
	
</display:table>

<authz:authorize ifAllGranted="ROLE_ADMIN">
<tr><td>
<A href="<s:url action="loadUser"/>"><s:text name="menu.createUser"/></A>
</td></tr>
</authz:authorize>

</TABLE>


</body>
</html>